package com.ntv.service.user;

import com.ntv.domain.IUser;
import com.ntv.service.DomainException;

public interface IUserAppService 
{
		public IUser findUserById(Long userId) throws DomainException;
		public IUser findUserByUserName(String username) throws DomainException;
		public IUser getUser(String username, String password) throws DomainException;
		public IUser registerUserIfValid(IUser user, boolean hasError) throws DomainException;		
		public IUser createUser(IUser user) throws DomainException;
}
